<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>甲分包花名册</a></li>
        <li><a href="{:url('subcont/add',array('id'=>$id))}">新增</a></li>
    </ul>


    <form method="post" class="js-ajax-form margin-top-20">

        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>分包单位名称</th>
                <th>职位</th>
                <th>姓名</th>
                <th>电话</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <volist name="res" id="v">
                <tr>
                    <td>{$v.company}</td>
                    <td>{$v.position}</td>
                    <td>{$v.name}</td>
                    <td>{$v.mobile}</td>
                <td>
                    <a class="btn btn-xs btn-primary js-ajax-submit"
                       href="{:url('subcont/edit',array('id'=>$v.id))}">编辑</a>
                    <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('subcont/del',array('id'=>$v['id']))}">{:lang('DELETE')}</a>

                </td>
                </tr>
            </volist>

            </tbody>
        </table>

    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>